package com.njitzx.entity.po;

import java.time.LocalDateTime;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * 属性表
 * </p>
 *
 * @author 周鑫
 * @since 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Attribute对象", description="属性表")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Attribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer attrId;

    @ApiModelProperty(value = "属性名称")
    private String attrName;

    @ApiModelProperty(value = "外键，类型id")
    private Integer catId;

    @ApiModelProperty(value = "only:输入框(唯一)  many:后台下拉列表/前台单选框")
    private String attrSel;

    @ApiModelProperty(value = "manual:手工录入  list:从列表选择")
    private String attrWrite;

    @ApiModelProperty(value = "可选值列表信息,例如颜色：白色,红色,绿色,多个可选值通过逗号分隔")
    private String attrVals;

    @ApiModelProperty(value = "删除时间标识，如果有值表示已被删除")
    private LocalDateTime deleteTime;

}
